import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import rc from './reducer/index.js';

const cs = (ic) => {
    return createStore(rc, ic, applyMiddleware(thunk))
}

export default cs;
